﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;

namespace Animation_Manager
{
    class Animation
    {
        List<Frame> frames;
        Frame frame;
        string name;
        string fileName;
        int imageID;
        bool selected;
        Color filterColor;
        string filepath;
        bool looping;
        bool oscillating;
        int numFrames;


        public int NumFrames
        {
            get { return numFrames; }
            set { numFrames = value; }
        }

        public List<Frame> Frames
        {
            get { return frames; }
            set { frames = value; }
        }

        public Frame Frame
        {
            get { return frame; }
            set { frame = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public bool Selected
        {
            get { return selected; }
            set { selected = value; }
        }

        public override string ToString()
        {
            return name;
        }

        public Animation()
        {
            this.frames = new List<Frame>();
        }

        public string FileName
        {
            get { return fileName; }
            set { fileName = value; }
        }

        public int ImageID
        {
            get { return imageID; }
            set { imageID = value; }
        }

        public Color FilterColor
        {
            get { return filterColor; }
            set { filterColor = value; }
        }

        public string Filepath
        {
            get { return filepath; }
            set { filepath = value; }
        }

        public bool Oscillating
        {
            get { return oscillating; }
            set { oscillating = value; }
        }

        public bool Looping
        {
            get { return looping; }
            set { looping = value; }
        }

        //public Animation(string name, bool

        //public void AddFrame()
        //{
        //    Frame f = new Frame();
        //    f = frame;
        //    frames.Add(f);
        //}

    }
}
